@function p2r($px){
    @return ($px/40px)*1rem
}


*{
  margin: 0;
  padding: 0;
}
 
input,button,select,textarea,div,p,img{
  outline: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-tap-highlight-color: transparent;
}
 
h1,h2,h3,h4,h5,h6{
  font-weight: normal;
  font-size: 100%;
}
 
body,html{
  width: 100%;
  height: 100%;
}
 
li{
  list-style: none;
}
 
img{
  vertical-align: top;
  height: auto;
}
  
body a{
  outline: none;
  // blr: expression(this.onFocus=this.blur());
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
  
html{
  -webkit-text-size-adjust: none;
  font-size: 62.5%;
}
  
body{
  font-size: 1.2rem;
  // font-family: "Microsoft YaHei UI",PingFangSC-Regular, sans-serif;
  background: #ffffff;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
 
.w100{
  width: 100%;
}

.h100{
  height: 100%;
} 

.abso{
  position: absolute;
}
 
.left50{
  left: 50%;
}

.van-button{
  width: 100%;
  height: p2r(80px);
  line-height: p2r(80px);
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: p2r(24px);
  border: none;
  outline: none;
  border-radius: 3px;
  margin-top: p2r(60px);
  letter-spacing: 2px;
}

.van-dialog .van-button{
  background-color: #fff;
  color: #524f4f;
  font-size: 0.8rem;
  margin-top: 0;
  height: p2r(90px)
}

.back-btn{
  position: absolute;
  left: p2r(30px);
  top: p2r(30px);
  font-size: p2r(28px);
  text-decoration: underline;
}